.quiz-popup-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}
.quiz-popup-wrap.hidden {
    display: none;
}
.quiz-popup-wrap .quiz-popup-inner {
    width: 100%;
    height: 100%;
    display: block;
}
.quiz_popup_frame_wrap {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 1400px;
    padding: 0 30px;
    width: 100%;
    margin: 0 auto;
}
@media (max-width:1440px) {
    .quiz_popup_frame_wrap { 
        max-width: 1340px;
    }
}
.popup_iframe {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    min-height: auto;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 31px 41px 0 rgba(32, 42, 53, .2), 0 2px 16px 0 rgba(32, 42, 54, .08);
}
.popup_close_btn_wrap button {
    right: 20px;
    position: absolute;
    top: 18px;
    border: none;
    float: right;
    left: auto;
    display: block;
    width: 30px;
    height: 30px;
}
.quiz_iframe_container {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 700px;
    position: relative;
}
@media (max-width:1440px) {
    .quiz_iframe_container {
        max-height: 630px;
    }  
}
@media (max-width: 1260px) {
    .quiz_iframe_container {
        max-height: 630px;
    }
}
@media (max-width: 767px) {
    .quiz_popup_frame_wrap {
        padding: 15px 15px;
        max-width: 100%;
    }
    .quiz_iframe_container {
        max-height: 100%;
    }
}
.quiz_popup_frame_wrap{
    /* width: 80%;
    min-height: 80vh;
    margin-top: 10vh;
    margin-left: 10vw;
    background: #fff;
    box-shadow: 0 31px 41px 0 rgba(32,42,53,.2), 0 2px 16px 0 rgba(32,42,54,.08);
    position: relative; */
     /* border: 1px solid #fdfdfd; */
}

.popup_quiz_loader{
    /* display: block;
    background: url('http://quizify.arhamcommerce.com/images/quiz_loader.svg') no-repeat center center;
    background-color: inherit;
    z-index: 11;
    background-size: contain;
    height: 500px;
    width: 100px;
    margin: 0 auto; */

    display: block;
    background: url(http://quizify.arhamcommerce.com/images/quiz_loader.svg) no-repeat center center;
    background-color: inherit;
    z-index: 11;
    background-size: contain;
    height: 500px;
    width: 100px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translate(0px, -50%);
    -webkit-transform: translate(0%,-50%);
    -moz-transform: translate(0%,-50%);
    -o-transform: translate(0%,-50%);
}
.quiz-popup-inside{
    background: rgba(0,0,0,.2);
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: opacity .3s cubic-bezier(.645,.045,.355,1);
    -moz-transition: opacity .3s cubic-bezier(.645,.045,.355,1);
    -o-transition: opacity .3s cubic-bezier(.645,.045,.355,1);
    transition: opacity .3s cubic-bezier(.645,.045,.355,1);
    height: 100%;
    width: 100%;
    display: block;
}
.quiz-popup-inside.visible {
    opacity: 1;
    visibility: visible;
}
.quiz-popup-inside.hidden{
    width: 0;
    height: 0;
    pointer-events: none;
}
/* .quiz-popup-inside{
    background: rgba(0,0,0,.2);
    top: 0!important;
    left: 0!important;
    right: 0!important;
    bottom: 0!important;
    opacity: 1;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2147483646;
    visibility: visible;
    pointer-events: auto;
} */
/* .popup_close_btn_wrap{
    width: 80%;
    margin-top: 10vh;
    margin-left: 10vw;
} */
.popup_close_btn{
    border: 2px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2147483647;
    opacity: 1;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-color: #3d3a3a4f;
    background-position: 50%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23ffffff" d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>');
}
.popup_close_btn:hover{
    opacity: 1;
}
.popup_close_btn:focus{
    outline: 0;
}


